#
# @lc app=leetcode.cn id=67 lang=python
#
# [67] 二进制求和
#

# @lc code=start
class Solution(object):
    def addBinary(self, a, b):
        """
        :type a: str
        :type b: str
        :rtype: str
        """
        num_a = int(a, 2)
        num_b = int(b, 2)
        sum = num_a + num_b
        return str(bin(sum))[2:]
# @lc code=end


if __name__ == "__main__":
    solution = Solution()
    sum = solution.addBinary("11", "1")
    print(sum)